package com.ytjj.qmyx.data.mapper;

import com.ytjj.qmyx.data.model.request.OrderProblemReplyRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderProblemMapper {


    /**
     * 根据账号名称获取后台账号id
     */
    Integer getAdminIdByName(@Param("name")String name);


    /**
     * 查询所有角色下的账号
     */
    List<String> getAllRoleAdmin(@Param("roleCode") String roleCode);


    int insert(OrderProblemReplyRequest  request);
}
